<html>
    <head>
        <meta charset="utf-8">
        <title>Hello world</title>
    </head>
    <body>
        <p>Hello world 1</p>
        <p>Hello world 2</p>
        <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
        <script>
            var p = d3.select("body").selectAll("p").text("www.ourd3js.com")
            p.style("color","red")
            .style("font-size","72px")
        </script>
    </body>
</html>